
import React from 'react';
import { Link } from 'react-router';

class App extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        const props = this.props;

        return (<div>
                <h1>App</h1>
                <ul>
                    <li><Link to="/asyncDemo">asyncDemo</Link></li>
                    <li><Link to="/syncDemo">syncDemo</Link></li>
                    <li><Link to="/other">other</Link></li>
                </ul>
                {this.props.children}
            </div>);
    }
}

export default App;
